﻿using EmoneyWeiXinDAL;
using EmoneyWeiXinEntity;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace EmoneyWeiXinBLL
{
    public class TJ_Business_USerScanBLL
    {

        TJ_Business_USerScanDAL dal = new TJ_Business_USerScanDAL();
        public List<TJ_Business_USerScanEntity> GetUSerScanListByCondition(int weixinId, string tradeType, DateTime tStartTime, DateTime tEndtime)
        {
            return dal.GetUSerScanListByCondition(weixinId, tradeType, tStartTime, tEndtime);
        }
        //分页获取统计数据
        public List<TJ_Business_USerScanEntity> GetUSerScanListForPage(int pageSize, int pageIndex, string whereText, out int totalCount)
        {
            return dal.GetUSerScanListForPage(pageSize, pageIndex, whereText, out totalCount);
        }
        //根据时间区域统计数据
        public void GetSumDataByTimeArea(out int subSum, out int unSubSum, string whereText)
        {
            dal.GetSumDataByTimeArea(out subSum, out unSubSum, whereText);
        }
    }
}
